HC: insensitive styling for views.
authorLapo Calamandrei <calamandrei@gmail.com>
Wed, 8 Feb 2017 15:53:10 +0000 (16:53 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 9 Feb 2017 02:32:47 +0000 (21:32 -0500)
gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk-contained-inverse.css
gtk/theme/HighContrast/gtk-contained.css

index d36cb42c02b786f4a924dd969ebb099a8f922759..4e7d2365cde3b1030d615df9d270a05a09328c8c 100644 (file)
@@ -95,6 +95,10 @@ $ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
     color: $backdrop_fg_color;
     background-color: $backdrop_base_color;
   }
+  &:disabled {
+    color: $insensitive_fg_color;
+    background-color: $insensitive_bg_color;
+  }
   &:selected,
   &:selected:focus,
   &:selected:hover { @extend %selected_items; }
index 5f4e55f3ace22c491cc6a3dc19408952066c2f00..b291b77a25b22af575146c23f52d7f81fd537d53 100644 (file)
@@ -92,6 +92,9 @@
   .view:backdrop, textview text:backdrop, iconview:backdrop {
     color: #fff;
     background-color: #111; }
+  .view:disabled, textview text:disabled, iconview:disabled {
+    color: gray;
+    background-color: #070707; }
 
 .rubberband,
 rubberband,
index b580a3d863003f5748d02adeb4953bd830daaec1..1196800ddaa086f50f0c6637735b3efb4237a4b2 100644 (file)
@@ -92,6 +92,9 @@
   .view:backdrop, textview text:backdrop, iconview:backdrop {
     color: #000;
     background-color: #fff; }
+  .view:disabled, textview text:disabled, iconview:disabled {
+    color: gray;
+    background-color: white; }
 
 .rubberband,
 rubberband,